@width: 1200px;
@color: #343435;

.border {
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
}

.flex(@just) {
    display: flex;
    justify-content: @just;
    align-items: center;

}
span{
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(img/icon.png);
    
}

.sjx {
    border-top: 20px solid transparent;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #fff;
}

.sjx1 {
    border-top: 20px solid transparent;
    border-left: 20px solid transparent;
    border-right: 20px solid #fff;
    border-bottom: 20px solid transparent;
}

main {
    width: @width;
    margin: auto;

    nav {
        .flex(space-around);

        a {
            text-decoration: none;
            font-size: 18px;
            color: @color;
        }

        img {
            width: 160px;
            height: 70px;
        }
        
    }

    h1 {
        margin-top: 60px;
        margin-bottom: 40px;
        font-size: 30px;
        color: @color;
        text-align: center;
    }
}

.pic {
    margin-top: 20px;
}

.star {
    .flex(space-around);

    a {
        text-decoration: none;
        font-size: 18px;
        color: @color;
        text-align: center;

        img {
            width: 114px;
            height: 114px;

        }

    }

}

.shop-content {
    .flex(flex-start);


    .shop-B {
        .flex(flex-start);
        flex-wrap: wrap;

        div {
            width: 300px;
            height: 296px;
            .border;

            p {
                padding-left: 20px;
                font-size: 16px;
            }
        }
    }
}

.info-content {
    height: 768px;
    .flex(flex-start);
    .border;

    .info-l {

        width: 600px;
        height: 768px;

        .info-b {
            position: relative;

            i {
                position: absolute;
                .sjx;
                top: -76px;
                left: 50px;
            }

            img {
                width: 600px;
                height: 475px;
            }

            h2 {
                margin-top: 36px;
                font-size: 30px;
                padding-left: 50px;
            }

            p {
                margin-top: 20px;
                padding-left: 50px;
                font-size: 14px;
            }
        }
    }

    .info-r {
        width: 600px;
        height: 768px;
        .flex(flex-start);
        flex-wrap: wrap;

        div {
            width: 300px;
            height: 475px;
            .border;

            section {
                width: 300px;
                height: 296px;
                position: relative;

                i {
                    position: absolute;
                    .sjx;
                    bottom: 0px;
                    left: 30px;
                }

            }

            div {
                width: 300px;
                height: 179px;
                padding-left: 30px;
                padding-top: 30px;
                padding-right: 32px;
                box-sizing: border-box;

                h3 {
                    font-size: 18px;
                    color: @color;
                }

                p {
                    margin-top: 20px;
                    font-size: 14px;
                    color: #676666;
                }
            }
        }

        .div3 {
            .flex(flex-start);
            width: 600px;
            height: 293px;
            position: relative;

            i {
                position: absolute;
                .sjx1;
                top: 20px;
                bottom: 293px;
                right: 0;
            }

            div {
                width: 300px;
                height: 296px;

            }
        }
    }
}


footer {
    width: 1200px;
    height: 175px;
    // .flex(space-around);
    margin-top: 90px;

    .fot {
        width: 486px;
        height: 110px;
        margin: auto;
        .flex(space-around);
        border-bottom: 1px solid #dcdcdc;

        .fot-left {
            img {
                width: 106px;
                height: 46px;
                border-right: 1px solid #dcdcdc;
                padding-right: 40px;
            }
        }

        .fot-right {
            .flex(space-around);
            width: 253px;
            text-align: center;
        }
    }

    .fot-b {
        width: 1200px;
        height: 44px;
        margin: auto;
        text-align: center;
        margin-top: 20px;

        .fot1 {

            width: 486px;
            .flex(space-between);
            margin: auto;

            a {
                text-decoration: none;
                color: @color;
            }
        }

        .fot2 {
            margin-top: 20px;
        }
    }
}